package com.bbzn.device.client.service;

import com.bbzn.device.client.dataobject.AlarmHis;
import com.bbzn.device.client.dto.history.AlarmHisDTO;
import com.bbzn.device.client.utils.PageInfo;

import java.util.List;

/**
 * @Author: 曾俞钧
 * @Date : 2021/3/29 9:45
 * @Version 1.0
 */
public interface AlarmHisService {


    int deleteByPrimaryKey(Long id);

    int insert(AlarmHis record);

    int insertOrUpdate(AlarmHis record);

    int insertOrUpdateSelective(AlarmHis record);

    int insertSelective(AlarmHis record);

    AlarmHis selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AlarmHis record);

    int updateByPrimaryKey(AlarmHis record);

    int updateBatch(List<AlarmHis> list);

    int batchInsert(List<AlarmHis> list);

    PageInfo alarmHistroryLimt(AlarmHisDTO alarmHis);

    int updateBatchSelective(List<AlarmHis> list);

    int alarmHisCount(AlarmHisDTO record);

    List<AlarmHis> alarmHistrorySelective(AlarmHisDTO alarmHis);

    List<AlarmHis> findByAll(AlarmHis alarmHis);

    int deleteByImei(String imei);
}











